<template>
  <div class="header">
    <router-link to="/">
      <span class="iconfont back-icon">&#58916;</span>
    </router-link>
    <span>城市选择</span>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
@import '~styles/varibles.styl'
.header
  overflow: hidden
  height: $headerHigh
  line-height: $headerHigh
  text-align: center
  color: #fff
  background-color: $bgColor
  font-size: 0.32rem
  position: relative
  .back-icon
    position: absolute
    left: 0.2rem
    color: #fff
</style>
